package com.lxm.dao;

import com.lxm.entity.Resource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单管理 Mapper 接口
 * </p>
 *
 * @author lxm
 * @since 2021-11-18
 */
public interface ResourceMapper extends BaseMapper<Resource> {
    //根据角色ID们查询所对应的所有资源
    List<Resource> selectAllResourceByRoleIds(@Param("ids") List<Integer> ids);

}
